package server;

import java.rmi.RemoteException;

public class ThreadBLeader extends Thread {
	ServerImpl ser;
	
	public ThreadBLeader(ServerImpl ser){
		this.ser=ser;
	}
	
	public void run() {
		try {
			sleep(10000);
			ser.initOfLead();
			this.interrupt();
		} catch (RemoteException e) {
			e.printStackTrace();
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		
	}

}
